﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="HappyIntentUpdForm.aspx.cs" Inherits="App_Input_HappyIntentUpdForm"
    Title="活动评估登记" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
        <table width="100%">
        <tr>
            <td>
                <table class="table_border_line">
                    <tr>
                        <td align="left" >
                        <script language="javascript">
                                        (new TitleBar('SearchBar', '活动信息')).showBar();
                            </script>
                        </td>
                    </tr>
                </table>
                <table class="table_border_line" style="background:ffffff" >
                    <tr>
                        <td style="width: 5px; height: 24px;">&nbsp;</td>
                        <td style="HEIGHT: 24px; width: 147px;" align="left" nowrap class="list_data_bg_left">活动编号：</td>
                        <td style="HEIGHT: 24px; width: 185px;" align="left" nowrap>&nbsp;<asp:Label ID="labActinId" runat="server" Text="Label"></asp:Label></td>
                        <td align="left" style="WIDTH: 165px; HEIGHT: 24px" nowrap>&nbsp;负责管家：</td>
                        <td align="left" style="HEIGHT: 24px" nowrap>&nbsp;<asp:Label ID="labRespPesonName" runat="server" Text="Label"></asp:Label></td>
                        <td style="HEIGHT: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px">&nbsp;</td>
                        <td class="list_data_bg_left" style="width: 147px; height: 24px;">活动名称：</td>
                        <td style="width: 185px; height: 24px;">&nbsp;<asp:Label ID="labActionName" runat="server" Text="Label"></asp:Label></td>
                        <td style="width: 165px; height: 24px;">&nbsp;活动分类：</td>
                        <td style="width: 414px; height: 24px;">&nbsp;<asp:Label ID="labTypeName" runat="server" Text="Label"></asp:Label></td>
                        <td style="HEIGHT: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 147px; height: 24px;">活动日期：</td>
                        <td style="width: 185px; height: 24px;">&nbsp;<asp:Label ID="labActionDate" runat="server" Text="Label"></asp:Label></td>
                        <td style="width: 165px; height: 24px;">&nbsp;活动地点：</td>
                        <td style="width: 414px; height: 24px;">&nbsp;<asp:Label ID="labActionAddress" runat="server" Text="Label"></asp:Label></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td colspan="6" align="center" style="height: 15px"></td>
                    </tr>
                </table>
            </td>
        </tr>        
    </table>
    
    <div id="Div1">
        <table width="100%">
            <tr>
                <td align="left" style="height: 15px">

                    <script language="javascript">
                                        (new TitleBar('SearchBar', '报名情况')).showBar();
                    </script>

                </td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CssClass="GridView_table" DataKeyNames="MemberNo" BorderStyle="Solid" OnPageIndexChanging="GridView1_OnPageIndexChanging" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
                        BorderWidth="3px" Width="100%">
                        <Columns>
                            <asp:BoundField HeaderText="会员编号" DataField="MemberNo" Visible="False">
                                <HeaderStyle Width="0px" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="会员姓名" DataField="NameC">
                                <ItemStyle CssClass="GridView_item_left" />
                                <HeaderStyle Width="30%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="要求" DataField="Request">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="30%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="意愿日期" DataField="NewDate"  DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                                <HeaderStyle Width="30%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                            
                            <asp:CommandField ButtonType="Image" HeaderText="选择" SelectImageUrl="~/images/edit.jpg"
                                SelectText="" ShowSelectButton="True">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" CssClass="GridView_item_center" />
                                <HeaderStyle CssClass="GridView_head_grayblue" />
                            </asp:CommandField>
                        </Columns>
                        <PagerSettings Mode="NumericFirstLast" />
                        <PagerStyle HorizontalAlign="Right" />
                    </asp:GridView>

                    
                </td>
            </tr>
        </table>
    </div>
    <cc1:ComValidator ID="ComValidator1" runat="server" CheckItems-Capacity="4" Visible="false">
    <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtMemberNo">
                <cc1:ComAbsParamsAttribute Parameter="会员编号" />
            </cc1:CheckRequiredAttribute>
        <cc1:CheckMinByteLenAttribute Code="E0319" ByteLen="11" ControlToValidator="txtMemberNo">
            <cc1:ComAbsParamsAttribute Parameter="会员编号" />
            <cc1:ComAbsParamsAttribute Parameter="11" />
        </cc1:CheckMinByteLenAttribute>
    </cc1:ComValidator>
    <table width="100%">
        <tr>
            <td style="height: 267px">
                <table class="table_border_line">
                    <tr>
                        <td align="left" colspan="6" >
                        <script language="javascript">
                                        (new TitleBar('SearchBar', '活动意愿登记')).showBar();
                            </script>
                        </td>
                    </tr>
                </table>
                <table class="table_border_line" style="background:ffffff">
                    <tr>
                        <td style="width: 13px; height: 20px;" ></td>
                        <td align="left" class="list_data_bg_left" style="width: 168px; height: 20px;">&nbsp;<asp:Label ID="labStatus"
                            runat="server" Text="登记 报名情况"></asp:Label></td>
                        <td align="left" style="height: 20px">&nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 13px; height: 36px" >&nbsp;<font color="#FF7300">*</font></td>
                        <td align="left"  class="list_data_bg_left" style="width: 168px; height: 36px;">会员：</td>
                        <td  align="left" nowrap style="height: 36px" >&nbsp;<asp:TextBox ID="txtMemberNo" runat="server"
                            MaxLength="11" Width="85px"></asp:TextBox>
                            <asp:TextBox ID="txtMemberName" runat="server"
                             Width="89px"  BackColor="#E0E0E0" BorderColor="#E0E0E0" ForeColor="Black"   contentEditable ="false" ></asp:TextBox>
                             <a  href="#" onclick="javascript:popupMemberSearch('<%=txtMemberNo.ClientID%>', '<%=txtMemberName.ClientID %>' );">
                                                              <img id="searchImg" runat="server" src="../../images/search.jpg" border="0" />
                        </a>
                            </td>                        
                    </tr>
                    <tr>
                        <td style="width: 13px; height: 105px" ></td>
                        <td class="list_data_bg_left" style="width: 168px; height: 105px;">要求：</td>
                        <td style="height: 105px"  >&nbsp;<asp:TextBox ID="txtRequest" runat="server"
                            Rows="3" TextMode="MultiLine" Width="489px" Height="82px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 13px; height: 76px;" ></td>
                        <td class="list_data_bg_left" style="width: 168px; height: 76px;" >备注：</td>
                        <td style="height: 76px" >&nbsp;<asp:TextBox ID="txtMemo"
                            runat="server" Width="492px" Rows="3" TextMode="MultiLine" Height="74px"></asp:TextBox></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" style="HEIGHT: 69px">&nbsp;
                &nbsp;&nbsp;<asp:Button ID="btnOk" runat="server" Text="  登 记  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnOk_Click" OnClientClick="return confirm('是否登入数据？')"/>&nbsp;
                                         <asp:Button ID="btnDel" runat="server" Text="  删 除  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnDel_Click" OnClientClick="return confirm('是否删除数据？')"/>&nbsp;
                <asp:Button ID="btnBack" runat="server" Text="  返 回  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnBack_Click" />

                    </td>
        </tr>
    </table>
</asp:Content>
